//
//  TYZControl.h
//  DriveSchoolCoach
//
//  Created by TangBin on 2019/7/29.
//  Copyright © 2019 TangBin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YYGestureRecognizer.h"

NS_ASSUME_NONNULL_BEGIN

@interface TYZControl : UIView
@property (nonatomic, strong, nullable) UIImage *image;
// 点击
@property (nonatomic, copy) void (^touchBlock)(TYZControl *view, YYGestureRecognizerState state, NSSet *touches, UIEvent *event);
// 长按
@property (nonatomic, copy) void (^longPressBlock)(TYZControl *view, CGPoint point);
@end

NS_ASSUME_NONNULL_END
























